from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
from selenium.webdriver.common.keys import Keys


driver = webdriver.Edge()
driver.maximize_window()
driver.get('https://email.163.com/')
sleep(2)

f = driver.find_element(By.XPATH, '/html/body/div[1]/div[3]/div[3]/div[1]/div/div[2]/div[1]/div[1]/iframe')
driver.switch_to.frame(f)
sleep(2)
driver.find_element(By.NAME, 'email').send_keys('2318636512')
sleep(2)
driver.find_element(By.XPATH, '/html/body/div[2]/div[2]/div[2]/form/div/div[3]/div[2]/input[2]').send_keys('gw09092434')
sleep(2)
driver.find_element(By.ID, 'dologin').click()
sleep(10)





